import request from '@/utils/request'

export function uploadFile(data){
	return request({
		url: '/tools/btachUpload',
		method: 'post',
		data:data
	})
}

export function queryAccountInfo() {
	return request({
		url: '/query/user/queryacountinfo',
		method: 'get',
	})
}

//发送验证码
export function sendSmsCode(params){
	return request({
		url: '/query/user/sendSmsCode',
		method: 'post',
		params:params
	})
}

//获取菜单
export function queryMenuInfo(params){
	return request({
		url: '/query/user/getmenuinfo',
		method: 'get',
		params:params
	})
}

//获取菜单
export function batchUpload(data){
	return request({
		url: '/tools/btachUploadAll',
		method: 'post',
		data:data
	})
}